home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / id007.dxr / 00049.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  1.6 KB  |  37 lines

  1. on exitFrame
  2.   set the locH of sprite 4 to the locH of sprite 4 + random(2)
  3.   set the locH of sprite 4 to the locH of sprite 4 - random(2)
  4.   set the locH of sprite 5 to the locH of sprite 5 + random(2)
  5.   set the locH of sprite 5 to the locH of sprite 5 - random(2)
  6.   set the locH of sprite 6 to the locH of sprite 6 + random(2)
  7.   set the locH of sprite 6 to the locH of sprite 6 - random(2)
  8.   set the locH of sprite 8 to the locH of sprite 8 + random(2)
  9.   set the locH of sprite 8 to the locH of sprite 8 - random(2)
  10.   set the locV of sprite 8 to the locV of sprite 8 + random(2)
  11.   set the locV of sprite 8 to the locV of sprite 8 - random(2)
  12.   set LastTick to the ticks
  13.   repeat while the locH of sprite 7 < 86
  14.     set x to 1 * (the ticks - LastTick)
  15.     set LastTick to the ticks
  16.     set the locH of sprite 7 to the locH of sprite 7 + x
  17.     set the locH of sprite 4 to the locH of sprite 4 + random(2)
  18.     set the locH of sprite 4 to the locH of sprite 4 - random(2)
  19.     set the locH of sprite 5 to the locH of sprite 5 + random(2)
  20.     set the locH of sprite 5 to the locH of sprite 5 - random(2)
  21.     set the locH of sprite 6 to the locH of sprite 6 + random(2)
  22.     set the locH of sprite 6 to the locH of sprite 6 - random(2)
  23.     set the locH of sprite 8 to the locH of sprite 8 + random(2)
  24.     set the locH of sprite 8 to the locH of sprite 8 - random(2)
  25.     set the locV of sprite 8 to the locV of sprite 8 + random(2)
  26.     set the locV of sprite 8 to the locV of sprite 8 - random(2)
  27.     updateStage()
  28.   end repeat
  29. end
  30.  
  31. on mouseUp
  32.   set the visible of sprite 5 to 0
  33.   set the visible of sprite 6 to 0
  34.   set the visible of sprite 7 to 0
  35.   go(81)
  36. end
  37.